package ${classPath}.adapters;

import com.zuche.baseModules.openAPI.annotation.AdapterDesc;
import com.zuche.baseModules.openAPI.annotation.MonitorConfig;
import com.zuche.baseModules.openAPI.core.component.AbstractAdapter;
import com.zuche.baseModules.openAPI.core.context.RequestContext;

/**
 * @description:${serviceDesc}
 * @author: 张德长 dechang.zhang@ucarinc.com
 * @date: 18:16:48 2018/11/8
 * @version:1.0
 */
@AdapterDesc(id = "${requestUrl}", serviceId = "${serviceId}", desc="${serviceDesc}")
@MonitorConfig(needLogin = true, loginMsg = "未登录")
public class  ${className}Adapter extends AbstractAdapter {

    @Override
    public Object invoke() {
        return RequestContext.getDTO();
    }
}